.TH lis_vector_set_values 3f "6 Sep 2012" "Man Page" "Lis Library Functions"

.SH NAME

lis_vector_set_values \- assign the scalar values to the rows of the vector

.SH SYNOPSIS

\fBsubroutine lis_vector_set_values\fR(\fBLIS_INTEGER flag\fR, \fBLIS_INTEGER count\fR, \fBLIS_INTEGER index\fR[], \fBLIS_SCALAR value\fR[], \fBLIS_VECTOR v\fR, \fBLIS_INTEGER ierr\fR);

.SH DESCRIPTION

Assign scalar \fIvalue\fR[\fIi\fR] to the \fIindex\fR[\fIi\fR]-th row of the vector \fIv\fR, where \fR[\fIi\fR]=0,1,...,\fR[\fIcount\fR]-1.

.SH INPUT

.IP "\fBflag\fR"
.RS
.IP "\fBLIS_INS_VALUE\fR"
\fIv\fR[\fIindex\fR[\fIi\fR]] = \fIvalue\fR[\fIi\fR]
.IP "\fBLIS_ADD_VALUE\fR"
\fIv\fR[\fIindex\fR[\fIi\fR]] = \fIv\fR[\fIindex\fR[\fIi\fR]] + \fIvalue\fR[\fIi\fR]

.IP "\fBi\fR"
The location where the value is assigned

.IP "\fBvalue\fR"
The scalar value to be assigned

.IP "\fBv\fR"
The destination vector

.SH OUTPUT

.IP "\fBv\fR"
The vector with the scalar \fIvalue\fR assigned to the \fIi\fR-th row

.SH NOTE

For the multiprocessing environment, the \fIi\fR-th row of the global vector must be specified instead of
the \fIi\fR-th row of the partial vector.

.SH SEE ALSO

.BR lis (3)
.PP
http://www.ssisc.org/lis/

